home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-04-19 | 973 b | 34 lines |
- srcdir = .
-
- #### package, host, target, and site dependent Makefile fragments come in here.
- ##
-
- OBJS = File.o PlotFile.o Filebuf.o SFile.o \
- filebuf.o form.o istream.o itoa.o ostream.o streambuf.o
-
- # The following include files are publicly visible, and
- # should be installed where user programs can find them.
-
- USER_INCLUDES = File.h Filebuf.h Fmodes.h PlotFile.h SFile.h \
- filebuf.h istream.h ostream.h stream.h streambuf.h
-
- # The following include files are private to the implementation.
-
- INTERNAL_INCLUDES =
-
- DEPEND_SOURCES = $(srcdir)/*.c $(srcdir)/*.cc
-
- $(TARGETLIB): $(OBJS)
- $(AR) $(AR_FLAGS) $(TARGETLIB) $(OBJS)
- $(RANLIB) $(TARGETLIB)
-
- install-include-files:
- if [ ! -d $(IDIR) ] ; then mkdir $(IDIR) ; fi
- cd $(srcdir); \
- for FILE in $(USER_INCLUDES) ; do \
- rm -f $(IDIR)/$$FILE; \
- $(INSTALL_DATA) $$FILE $(IDIR)/$$FILE ; \
- chmod 0444 $(IDIR)/$$FILE; \
- echo $(IDIR)/$$FILE installed; \
- done
-